import request from '/@/utils/request';

export function fetchList(query?: Object) {
	return request({
		url: '/platform/analysisJudgment/trendAnalysis',
		method: 'get',
		params: query,
	});
}

export function fetchYoyList(query?: Object) {
	return request({
		url: '/platform/analysisJudgment/yearOnYear',
		method: 'post',
		data: query,
	});
}
export function fetchSequentialList(query?: Object) {
	return request({
		url: '/platform/analysisJudgment/sequentialGrowth',
		method: 'post',
		data: query,
	});
}
